FROM core.harbor.1718281828.com/ruoyi-cloud/oraclejdk:8u202
MAINTAINER harold.zhou <harold.zhou@1718281828.com>

ENV APP_HOME /usr/local/app
ENV PATH /opt/java/jdk1.8.0_202/bin:$PATH

WORKDIR $APP_HOME

COPY docker-entrypoint.sh /
COPY start.sh start.jar $APP_HOME/

EXPOSE 8080 9080 
ENTRYPOINT ["sh", "/docker-entrypoint.sh"]
CMD ["sh", "/usr/local/app/start.sh"]
